package com.xin.mapper;

import com.alibaba.fastjson.JSONObject;
import com.xin.entity.STeacherRole;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
  * 用户角色表 Mapper 接口
 * </p>
 *
 * @author l1
 * @since 2017-12-05
 */
public interface STeacherRoleDao extends BaseMapper<STeacherRole> {

    /**
     * 查找角色
     * @param teacherId
     * @return
     */
    public List<JSONObject> findRolesByTeacherId(String teacherId);


}